/***************************************************
Class: MiscObject
Includes: stdafx.h, Mesh.h
Editors: Gindi
Existing Issues: None
Description: Class for the MiscObjects (points, waypoints, beacons), 
mainly for the A.I.
***************************************************/
#pragma once

#include "stdafx.h"
#include "Mesh.h"

class MiscObject {
public:
	MiscObject() {}
	MiscObject(string mFile) { modelFile = mFile; }
	~MiscObject() { Release(); }
	void Release();
	bool Initialize(LPDIRECT3DDEVICE9 pDevice);
	bool InitializeMesh(LPDIRECT3DDEVICE9 pDevice);
	void Render(LPDIRECT3DDEVICE9 pDevice);

public:
	Mesh			mesh;
	MeshInstance	meshInst;
	int				group;
	int				order;
	float			hRadius;
	string			alignment;
	string			dataFile;
	string			modelFile;
	string			name;
	string			purpose;
	string			type;
};
